//-----------------------------------------------------------------------
// <copyright file="Product.cs" company="Simnova LLC">
//     Copyright (c) Simnova LLC. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Simnova.Collaborate.ServiceContract.DataClasses
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Runtime.Serialization;

    [DataContract]
    public class Product
    {
        [DataMember(Name = "ProductId")]
        private int productId;
        private int companyId;
        private string name;
        private string description;

        [DataMember(Name = "CreateDate")]
        private DateTime createDate;

        public int ProductId
        {
            get { return this.productId; }
        }

        [DataMember]
        public int CompanyId
        {
            get { return this.companyId; }
            set { this.companyId = value; }
        }

        [DataMember]
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }

        [DataMember]
        public string Description
        {
            get { return this.description; }
            set { this.description = value; }
        }

        public DateTime CreateDate
        {
            get { return this.createDate; }
        }
    }
}
